package javax.microedition.io.file;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Enumeration;
import javax.microedition.io.StreamConnection;

public interface FileConnection extends StreamConnection {
  boolean canRead();
  
  boolean canWrite();
  
  boolean exists();
  
  boolean isDirectory();
  
  boolean isHidden();
  
  boolean isOpen();
  
  DataInputStream openDataInputStream() throws IOException;
  
  DataOutputStream openDataOutputStream() throws IOException;
  
  InputStream openInputStream() throws IOException;
  
  OutputStream openOutputStream() throws IOException;
  
  OutputStream openOutputStream(long paramLong) throws IOException;
  
  String getName();
  
  String getPath();
  
  String getURL();
  
  Enumeration list() throws IOException;
  
  Enumeration list(String paramString, boolean paramBoolean) throws IOException;
  
  long availableSize();
  
  long directorySize(boolean paramBoolean) throws IOException;
  
  long fileSize() throws IOException;
  
  long lastModified();
  
  long totalSize();
  
  long usedSize();
  
  void create() throws IOException;
  
  void delete() throws IOException;
  
  void mkdir() throws IOException;
  
  void rename(String paramString) throws IOException;
  
  void setFileConnection(String paramString) throws IOException;
  
  void setHidden(boolean paramBoolean) throws IOException;
  
  void setReadable(boolean paramBoolean) throws IOException;
  
  void setWritable(boolean paramBoolean) throws IOException;
  
  void truncate(long paramLong) throws IOException;
}


/* Location:              C:\Java\rt\javax\microedition\jsr75_1.0.jar!\javax\microedition\io\file\FileConnection.class
 * Java compiler version: 3 (47.0)
 * JD-Core Version:       1.1.3
 */